 // 引入request
    import request from '@/utils/request.js'
    // 抛出请求方法
	// 设备详情
    export const getEquipmentDetails = (token,id) => {
        return request({
            url: `device/instance/${id}/detail`,
            method: 'GET',
			header: {
				"Content-Type":"application/json;charset=UTF-8",
				"X-Access-Token":token
			}
        })
    }
	// 设备数据
    export const getEquipmentData = (token,data) => {
        return request({
            url: `dashboard/_multi`,
            method: 'POST',
			header: {
				"Content-Type":"application/json;charset=UTF-8",
				"X-Access-Token":token
			},
			data
        })
    }
	
	